@charset "UTF-8";

// 本课表现标题
.title {
  font-size: 0.18rem;
  color: #282B31;
  letter-spacing: 0;
  font-weight: bold;
  margin-top: 0.16rem;
}

// 课程信息
.class-info-wrap {
  height: 1.43rem;
  margin: 0 0.2rem;
  border-bottom: 1px solid rgba(231,232,234,0.5);

  .avatar {
    display: inline-block;
    height: 100%;
    width: 0.8rem;
    line-height: 0;
    vertical-align: top;
    img {
      margin-top: 0.31rem;
      width: 0.8rem;
      height: 0.88rem;
    }
  }
  .class-info {
    display: inline-block;
    height: 100%;
    width: 1.3rem;
    margin-left: 0.085rem;
    vertical-align: top;

    p {
      margin: 0;
      line-height: 1.35;
    }
    .title {
      margin-top: 0.31rem;
      font-size: 0.18rem;
      color: #282B31;
      font-weight: bold;
    }
    .class {
      font-size: 0.18rem;
      color: #282B31;
      font-weight: bold;
    }
    .time {
      font-size: 0.14rem;
      color: #676C75;
      letter-spacing: -0.31px;
    }
    .room {
      display: inline-block;
      padding: 0 0.025rem;
      font-size: 0.14rem;
      color: #32CDFF;
      letter-spacing: -0.88px;
      border: 1px solid #32CDFF;
      border-radius: 0.04rem;
    }
  }
  .class-score {
    display: inline-block;
    position: absolute;
    right: 0.36rem;

    p {
      margin: 0;
      line-height: 1;
    }
    .score {
      margin-top: 0.31rem;
      color: #32CDFF;
      font-size: 0.6rem;
    }
    .class-comment {
      text-align: right;
      margin-bottom: 0.24rem;

      .comment-icon {
        width: 0.16rem;
        height: 0.16rem;
      }
      .comment {
        margin-left: -0.02rem;
        vertical-align: top;
        line-height: 0.18rem;
        font-size: 0.12rem;
        color: #676B75;
        letter-spacing: 0;
      }
    }
  }
}

// 老师点评
.teacher-comment-wrap {
  margin: 0 0.2rem;
  border-bottom: 1px solid rgba(231,232,234,0.5);

  // 老师信息
  .teacher-info {
    text-align: center;
    margin-top: 0.08rem;

    img {
      width: 0.56rem;
      height: 0.56rem;
      border-radius: 50%;
    }
    p {
      margin-top: 0.12rem;
      margin-bottom: 0.09rem;
      font-size: 0.16rem;
      color: #4B4F57;
      letter-spacing: -0.39px;
    }
  }
  // 老师音频
  .teacher-audio {
    height: 0.16rem;

    // 音频播放按钮
    .audio-play {
      display: inline-block;
      width: 0.16rem;
      height: 0.16rem;
      img {
        width: 16px;
        height: 16px;
      }
    }
    // 音频播放进度条
    .audio-progress {
      display: inline-block;
      width: 2.73rem;
      height: 0.02rem;
      background-color: #D8D8D8;
      margin: 0.07rem 0.05rem;
      border-radius: 0.01rem;

      .current-progress {
        width: 0%;
        height: 0.02rem;
        border-radius: 0.01rem;
        background-color: #676B75;
      }
    }
    // 音频时间
    .audio-time {
      display: inline-block;
      vertical-align: top;
      font-size: 0.14rem;
      line-height: 0.16rem;
      color: #999EA8;
      letter-spacing: -0.31px;
    }
  }
  // 老师评语
  .teacher-comment {
    p {
      font-size: 0.14rem;
      color: #999EA8;
      letter-spacing: -0.31px;
    }
    // 英文评语
    .en {

    }
    // 中文评语
    .cn {
      display: none;
      padding: 0.04rem;
      background-color: rgba(250, 250, 250, 0.8);
      border: 1px solid #E7E8EA;
      border-radius: 0.04rem;
      margin-bottom: 0.24rem;
    }
  }
  // 翻译
  .translate-btn {
    text-align: right;
    margin-bottom: 0.24rem;

    .translate-icon {
      width: 0.16rem;
      height: 0.16rem;
    }
    .translate {
      margin-left: -0.02rem;
      vertical-align: top;
      line-height: 0.17rem;
      font-size: 0.14rem;
      color: #676B75;
      letter-spacing: 0;
    }
  }
}

// 本课表现
.class-express-wrap {
  margin: 0 0.2rem;
  border-bottom: 1px solid rgba(231,232,234,0.5);

  // 星星列表
  .star-list {
    margin-top: 0.16rem;
    text-align: center;

    .star {
      width: 0.24rem;
      height: 0.24rem;
    }

    .star:nth-child(2) {
      margin: 0 0.1rem;
    }
  }
  // 活跃度
  .express {
    text-align: center;
    margin-top: 0.08rem;
    font-size: 0.16rem;
    color: #4B4F57;
    letter-spacing: -0.39px;
  }
  // 本课表现结果
  .class-express {
    text-align: center;

    .center {
      margin: 0.24rem 0.31rem;
      padding: 0 0.31rem;
      border-left: 1px solid rgba(231, 232, 234, 0.5);
      border-right: 1px solid rgba(231, 232, 234, 0.5);
    }

    .express-item {
      display: inline-block;

      p {
        margin: 0;
        padding: 0;
      }

      .count {
        font-size: 0.32rem;
        color: #32CDFF;
        letter-spacing: -0.51px;
      }
      .text {
        font-size: 0.14rem;
        color: #676B75;
        letter-spacing: 0;
      }
    }
  }
}

// 本课词汇
.class-vocabulary-wrap {
  margin: 0 0.2rem;
  border-bottom: 1px solid rgba(231,232,234,0.5);

  .vocabulary {
    margin: 0.16rem 0 0.24rem 0;
    .card {
      display: inline-block;
      text-align: center;
      width: 1rem;
      height: 1.16rem;
      border: 1px solid #ECECEC;
      border-radius: 0.08rem;
      margin-right: 0.065rem;
      margin-bottom: 0.12rem;

      .text {
        margin-top: 0.31rem;
      }
      // 星星列表
      .star-list {
        margin-top: 0.16rem;

        .star {
          width: 0.13rem;
          height: 0.13rem;
        }
        .star:nth-child(2) {
          margin: 0 0.066rem;
        }
      }
    }
  }
}

// 本课句型
.class-sentence-wrap {
  margin: 0 0.2rem;

  // 句型列表
  .sentence {
    .item {
      min-height: 0.66rem;
      border-bottom: 1px solid #E7E8EA;

      .text {
        vertical-align: top;
        width: 2.75rem;
        display: inline-block;
      }

      // 星星列表
      .star-list {
        vertical-align: top;
        display: inline-block;
        min-height: 0.66rem;
        width: 0.55rem;
        line-height: 0.66rem;

        .star {
          width: 0.13rem;
          height: 0.13rem;
        }
        .star:nth-child(2) {
          margin: 0 0.026rem;
        }
      }
    }
  }
}

// 单元上课历程
.unit-course {
  height: 3rem;
  margin: 0 0.2rem;
  border-bottom: 1px solid rgba(231,232,234,0.5);

  .day-wrap {
    margin-top: 0.08rem;
    text-align: center;
    p {
      margin: 0;
      padding: 0;
    }
    .big {
      font-size: 0.32rem;
    }
    .day {
      font-size: 0.15rem;
      color: #32CDFF;
      line-height: 0.3rem;
    }
    .text {
      font-size: 0.14rem;
      color: #676B75;
      letter-spacing: 0;
    }
  }

  .chart {
    margin-top: 0.24rem;
    height: 1.64rem;
    position: relative;

    .text {
      position: absolute;
      width: 0.14rem;
      height: 1.44rem;
      top: 0;
      left: 0;
      font-size: 0.12rem;
      color: #32CDFF;

      div {
        position: absolute;
        width: 0.14rem;
        text-align: center;
      }

      .A {
        top: 0.059rem;
      }
      .B {
        top: 0.491rem;
      }
      .C {
        top: 0.923rem;
        color: #BABDC3;
      }
    }
    .line {
      position: absolute;
      width: 3.18rem;
      top: 0;
      left: 0.18rem;

      div {
        position: absolute;
        width: 100%;
        height: 0;
        border-top: 1px dashed rgba(50,205,255,0.2);
      }

      .A {
        top: 0.144rem;
      }
      .B {
        top: 0.576rem;
      }
      .C {
        top: 1.008rem;
        border-top: 1px dashed rgba(186,189,195,0.2);
      }
    }
    .L {
      position: absolute;
      top: 0;
      left: 0.21rem;

      @for $i from 1 through 10 {
        .L#{$i} {
          position: absolute;
          top: 0;
          left: 0.32rem * ($i - 1);

          .score-item {
            position: relative;
            width: 0.2rem;
            height: 1.44rem;
            background-color: rgba(231,232,234,0.4);
            border-radius: 0.03rem;
            .blue {
              position: absolute;
              bottom: 0;
              width: 0.2rem;
              background: #32CDFF;
              border-radius: 0.03rem;
            }
            .gray {
              position: absolute;
              bottom: 0;
              width: 0.2rem;
              background: #BABDC3;
              border-radius: 0.03rem;
            }
            .score {
              position: absolute;
              top: 0;
              width: 100%;
              text-align: center;
              margin: 0;
              padding: 0;
              font-size: 0.12rem;
              color: #FFFFFF;
              letter-spacing: 0;
              span {
                font-size: 0.1rem;
                vertical-align: text-top;
              }
            }
            &.empty {
              visibility: hidden;
            }
          }

          .item-text {
            margin-top: 0.06rem;
            font-size: 0.12rem;
            color: #999EA8;
            letter-spacing: 0;
            &.empty {
              color: rgba(153,158,168,0.4);
            }
          }
        }
      }
    }

  }
}

// 单元练习汇总
.unit-summary-wrap {
  margin-bottom: 0.5rem;

  // 单元练习汇总
  .title {
    margin-left: 20px;
    font-size: 0.18rem;
    color: #282B31;
    letter-spacing: 0;
    font-weight: bold;
    margin-top: 0.16rem;
  }
  // canvas 图表
  .summary-chart {
    margin-top: 0.16rem;
    width: 3.75rem;
    height: 3.75rem;
  }
  .advise {
    margin: 0 0.2rem;
    font-size: 0.14rem;
    color: #676B75;
    letter-spacing: 0;
  }
  .advise-list {
    margin: 0 0 0 0.2rem;
    .advise-item {
      display: inline-block;
      width: 0.8rem;
      height: 0.24rem;
      line-height: 0.24rem;
      background: rgba(211,213,218,0.3);
      border-radius: 1rem;
      text-align: center;
      margin: 0.16rem 0.04rem 0 0;
      font-size: 0.12rem;
      color: #676B75;
      letter-spacing: 0;
    }
  }
}